incdir = include_directories('include')
srcs = [
    'src/Renderer.cpp'
]

amalgam_renderer = shared_library(
    'amalgam_opengl',
    srcs,
    include_directories: incdir,
    dependencies: [glfw, glew],
    install: true
)

gl_triangle = executable(
    'gl_triangle',
    'tests/Triangle.cpp',
    dependencies: [glfw, glew]
)

test('basic-gl', gl_triangle, suite: 'opengl')